<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>解构</title>
    <script>
        /**
         * 本质就是从对象中取值，数组，对象
         */


        let arr = [2,3,9];

        let [a,b,c,d,...others] = arr;

        console.log(a);
        console.log(b);
        console.log(c);
        console.log(d);

        console.log(others)

        console.log(arr);

    </script>
</head>
<body>

</body>
</html>